<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Login</title>
  <link rel="stylesheet" href="style.css">
</head>

<body>
<div class="box">
  <div class="content">
    <div class="login-wrapper">
      <h1>登录</h1>
      <form th:action="@{/login}" method="post" th:object="${loginForm}">
        <div class="login-form">
          <div class="username form-item">
            <span>使用邮箱或者手机号</span>
            <input type="text" class="input-item" th:field="*{username}">
          </div>
          <div class="password form-item">
            <span>密码</span>
            <input type="password" class="input-item" th:field="*{password}">
          </div>
          <button type="submit" class="login-btn">登 录</button>
        </div>
      </form>
      <div class="divider">
        <span class="line"></span>
        <span class="divider-text">其他方式登录</span>
        <span class="line"></span>
      </div>
      <div class="other-login-wrapper">
        <div class="other-login-item">
          <img src="./asset/QQ.png" alt="">
        </div>
        <div class="other-login-item">
          <img src="./asset/WeChat.png" alt="">
        </div>
      </div>
    </div>
  </div>
</div>
</body>

</html>